//    Copyright (C) Kherty.  All rights reserved.
namespace OpenLS.Spreadsheet
{
    class SetDefaultRowHeight : WorksheetLevelUndoUnit
    {
        public SetDefaultRowHeight(Worksheet ws, double value)
            : base(ws)
        {
            this.value = value;
        }

        readonly double value;
        public override void Do()
        {
            Worksheet.DefaultRowHeight = value;
        }
    }
}
